<template>
  <div class="list">      
    <ul>
      <li v-for= "(item,index) in list" v-bind:key="index">
        <span>   {{item.number}}</span> 
        <span>   {{item.code}}</span>
         <span>  {{item.name}}</span>
     
      </li>
    </ul>
  </div>
</template>
<script>
export default {
  props: ["list"],
  data() {
    return {   
  }
}
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.list{
  width:100%;
  height:100%;
  ul{
    overflow: scroll;
    li{
       span{
         display: inline-block;
          padding-right:20px;
          border-right:1px solid #ccc;

       }
    }
  }
}

</style>